import axios from "../axios";

export function userLogin(userName, password) {
  return axios.post("/user/login", { userName, password });
}
export function userReg(userName, password) {
  return axios.post("/user/register", { userName, password });
}
export function getWebInfo(item) {
  return axios({
    method: "GET",
    url: "/favor/info",
    params: item,
  });
}
export function getDefaultLink() {
  return axios.get("/favor/defaultlink");
}
